{{include file='layout/header.tpl'}}

{{include file='form/draggable.textarea.tpl'}}
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1/i18n/jquery.ui.datepicker-ja.min.js"></script>

<form method="post" action="{{$_param.page}}">
<input type="hidden" name="_edit_item" value="1" />
<table class="table_edit table_form">
{{include file='form/base.form.tpl'
  data=$data.solo
  name='item_id'
  column_name='id'
  type='id'
}}
{{include file='form/base.form.tpl'
  data=$data.solo
  name='post_id'
  column_name='key_id'
  type='id'
}}
{{include file='form/base.form.tpl'
  data=$data.solo
  name='name'
  type='text'
  class='midium'
}}
{{include file='form/base.form.tpl'
  data=$data.solo
  name='kana'
  type='text'
  class='midium'
  hiragana=1
}}
{{include file='form/base.form.tpl'
  data=$data.solo
  name='nickname'
  type='text'
  class='large'
}}
{{include file='form/base.form.tpl'
  data=$data.solo
  name='release_day'
  type='release'
}}
{{include file='form/base.form.tpl'
  data=$data.solo
  name='release_pre'
  type='release'
}}
{{include file='form/base.form.tpl'
  data=$data.solo
  name='type'
  type='select'
  values=$smarty.const.ITEM_TYPE_PARAMS|unserialize
  labels=$smarty.const.ITEM_TYPE_LABELS|unserialize
  
}}
{{include file='form/category.form.tpl'
  value=$data.listform|default
  data=$data.solo->_category|default:($data.list|default)
}}
{{include file='form/base.form.tpl'
  data=$data.solo
  name='note'
  type='textarea'
  class='midium'
}}
{{include file='form/base.form.tpl'
  data=$data.solo
  name='editor_note'
  type='textarea'
  class='midium'
}}
</table>

{{include 'form/submit.tpl'}}
{{if $data.solo->item_id|default}}{{include 'form/submit.delete.tpl'}}{{/if}}
</form>

{{include file='layout/footer.tpl'}}